using System;

namespace Kangaroo.Shell
{
    partial class Main
    {
        abstract class ChartSubView : IView
        {
            protected Main MainWin;

            protected readonly ChartView ParentView;

            protected ChartSubView(Main mainWin, ChartView parentView)
            {
                MainWin = mainWin;
                ParentView = parentView;
            }

            public abstract void Refresh();

            public abstract void Activate();

            public virtual void Deactivate()
            {
            }
        }
    }
}